package pers.lws.erp.mapper;

import org.apache.ibatis.annotations.Param;
import pers.lws.erp.entity.ProductionPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuws
 * @since 2020-09-22
 */
public interface ProductionPlanMapper extends BaseMapper<ProductionPlan> {

    ProductionPlan getMaxId();

    int updateCheckedStatus(@Param("productionId") String productionId,
                            @Param("checked") Integer checked);

}
